﻿using System.Collections.Generic;
using YiCheap.Core.Domain.Common;
using YiCheap.Core.Domain.Products;

namespace YiCheap.Core.Domain.Shops
{
    public class Shop:BaseEntity
    {
        public virtual string Name { get; set; }

        public virtual Address Address { get; set; }

        private ICollection<ProductVariant> _productVariants;

        public virtual ICollection<ProductVariant> ProductVariants
        {
            get { return _productVariants ?? (_productVariants = new List<ProductVariant>()); }
            protected set { _productVariants = value; }
        }

    }
}